﻿<%@ Page Title="进度上报" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ProgressReport.aspx.cs"
	Inherits="KPI.ProgressReport" %>

<%@ Register Src="Controls/Messages.ascx" TagName="Messages" TagPrefix="uc3" %>
<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
	<div class="pagetitle">
		<span>进度上报</span>
	</div>
	<uc3:Messages ID="Messages1" runat="server" />
	<fieldset>
		<legend>
			<asp:Literal ID="lSeason" runat="server" Mode="PassThrough"></asp:Literal>上报进度</legend>
		<div class="progressform">
			<table border="0" cellpadding="5" cellspacing="0">
				<tr>
					<td style="width: 150px;">
						<label>KPI指标内容:</label>
					</td>
					<td>
						<div class="contentbox">
							<asp:Literal ID="lKPIContent" runat="server"></asp:Literal>
						</div>
					</td>
				</tr>
				<tr>
					<td colspan="2">
						<hr />
					</td>
				</tr>
				<tr>
					<td>
						进度(限制在300字以内):
					</td>
					<td>
						<CKEditor:CKEditorControl ID="CKEditorProgressContent" ToolbarCanCollapse="false" ResizeEnabled="false" BasePath="/ckeditor/"
							ValidationGroup="validationprogress" DefaultLanguage="zh-cn" runat="server" Width="100%" Height="300" MaxLength="320">
						</CKEditor:CKEditorControl>
					</td>
				</tr>
				<tr>
					<td>
					</td>
					<td>
						<asp:RequiredFieldValidator ID="rfvProgressContent" runat="server" Display="Dynamic" ValidationGroup="validationprogress"
							ControlToValidate="CKEditorProgressContent" CssClass="failurenotification" ErrorMessage="进度不能为空" ToolTip="进度不能为空">进度不能为空</asp:RequiredFieldValidator>
						<asp:CustomValidator ID="cusvProgressContent" runat="server" Display="Dynamic" ValidationGroup="validationprogress" ControlToValidate="CKEditorProgressContent"
							ClientValidationFunction="checkProgressContentMaxLength" SetFocusOnError="true" OnServerValidate="cusvProgressContent_ServerValidate"
							CssClass="failurenotification" ErrorMessage="字数限制在300字以内" ToolTip="字数限制在300字以内">字数限制在300字以内</asp:CustomValidator>
					</td>
				</tr>
			</table>
		</div>
	</fieldset>
	<div class="buttonscontainer">
		<asp:Button ID="btnSubmit" Text="提 交" CssClass="button" runat="server" ValidationGroup="validationprogress" OnClick="btnSubmit_Click" />
		<asp:Button ID="btnCancel" runat="server" CssClass="button" Text="取 消" OnClick="btnCancel_Click" />
	</div>
</asp:Content>
